package org.demo.base.config;

public class HcConstants {
	/**
	 * ReqHeader 请求头中 key 常量
	 */
	public class ReqHeader {
		/**
		 * staffid 员工id
		 */
		public static final String STAFFID = "staffid";
		/**
		 * staffname 员工英文名
		 */
		public static final String STAFFNAME = "staffname";
		public static final String TIMESTAMP = "timestamp";
		public static final String SIGNATURE = "signature";
		public static final String X_RIO_SEQ = "x-rio-seq";
		public static final String X_EXT_DATA = "x-ext-data";
		public static final String TOKEN = "token";
	}

	/**
	 * ApprovalBasis 审批依据
	 */
	public class ApprovalBasis {
		/**
		 * 人委会
		 */
		public static final String PEOPLE_COMMITTEE = "人委会";
		/**
		 * 技术大咖
		 */
		public static final String TECHNICAL_EXPERT = "技术大咖";
		/**
		 * 产陪生
		 */
		public static final String PRODUCTION_ACCOMPANYING = "产培生";
		/**
		 * 中干/高管
		 */
		public static final String MANAGEMENT = "中干/高管";
		/**
		 * 秘书配比追加
		 */
		public static final String SECRETARY_RATIO_APPEND = "秘书配比追加";
		/**
		 * HR配比追加
		 */
		public static final String HR_RATIO_ADDITION = "HR配比追加";
		/**
		 * 数据修正
		 */
		public static final String CORRECT_DATA = "数据修正";
	}

	/**
	 * 权限缓存 redis集合 key值
	 */
	public class Auth {
		/**
		 * HcWeb_operationsSet_
		 */
		public static final String HCWEB_OPERATIONSSET_ = "HcWeb_operationsSet_";
		/**
		 * HcWeb_orgSet_
		 */
		public static final String HCWEB_ORGSET_ = "HcWeb_orgSet_";

	}

	/**
	 * T_HCApply 表 中 status
	 */
	public class ApplyStatus {
		/**
		 * DRAFT 草稿
		 */
		public static final String DRAFT = "草稿";
		/**
		 * APPLYING 申请中
		 */
		public static final String APPLYING = "申请中";

	}

	/**
	 * AuthRoleType 权限角色 类型
	 */
	public class AuthRoleType {
		public static final String HC_ADMIN_C = "R_HCAdmin_C";
		public static final String HC_ADMIN_BG = "R_HCAdmin_BG";
		public static final String HC_ADMIN_ORGAN = "R_HCAdmin_Organ";
	}

	/**
	 * AuthFunctionType 权限 功能类型
	 */
	public class AuthFunctionType {
		public static final String F_PLAN_QUERY = "F_Plan_Query";
		public static final String F_PLAN_EDIT = "F_Plan_Edit";
		public static final String F_HC_QUERY_C = "F_HC_Query_C";
		public static final String F_HC_EDIT = "F_HC_Edit";
		public static final String F_HC_MOVE = "F_HC_Move";
		public static final String F_HC_QUERY_BG = "F_HC_Query_BG";
		public static final String F_RULE_QUERY = "F_Rule_Query";
		public static final String F_RULE_EDIT = "F_Rule_Edit";
		public static final String F_LOG_QUERY = "F_Log_Query";
		public static final String F_APPLY_QUERY = "F_Apply_Query";
		public static final String F_APPLY_AUDIT = "F_Apply_Audit";
		public static final String F_HC_ANALYSIS = "F_HC_Analysis";
	}

	/**
	 * ConstraintRule 对应约束规则页面: 控编类型 约束强度类型
	 */
	public class ConstraintRule {
		/**
		 * 组织控编
		 */
		public static final String ORGANIZATION_CONTROL = "组织控编";
		/**
		 * 通道控编
		 */
		public static final String CHANNEL_CONTROL = "通道控编";
		/**
		 * 强约束
		 */
		public static final String STRONG_CONSTRAINT = "强约束";
		/**
		 * "弱约束
		 */
		public static final String WEAK_CONSTRAINT = "弱约束";
	}
}